gdkwindow: Allow native subsurface for all parents
authorOlivier Fourdan <ofourdan@redhat.com>
Tue, 15 Nov 2016 13:49:03 +0000 (14:49 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 18 Nov 2016 18:25:36 +0000 (13:25 -0500)
commit36575a44249631ee3785e53d55d1361e0b868a2c
tree6c308bc0e4ad67d2ff37e763be3030bc67bfecf9
parent665c3a2877043b7d8adfe51d220ac83a0bf54f5a
gdkwindow: Allow native subsurface for all parents

Under Wayland, a subsurface can have another surface as parent, but
gdk would not allow native windows if the parent is not the root window.

Allow native subsurface for all parent under Wayland, not just for the
root window.

https://bugzilla.gnome.org/show_bug.cgi?id=774475
gdk/gdkwindow.c